.td-page { 
  min-height: 100vh; 
  background: #fff; 
  padding-bottom: 80px;
  overflow-y: auto;
}
.td-hero { position: relative; }
.td-hero img { width: 100%; height: 200px; object-fit: cover; display: block; }
.td-back, .td-fav { position: absolute; top: 8px; width: 32px; height: 32px; border-radius: 50%; border: none; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; }
.td-back { left: 8px; }
.td-fav { right: 8px; }
.td-hero-icon { position: absolute; top: 8px; left: 50%; transform: translateX(-50%); width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.9); display: flex; align-items: center; justify-content: center; color: #1890ff; }

.td-body { 
  padding: 12px 16px; 
  max-height: calc(100vh - 280px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.td-title { font-size: 20px; font-weight: 800; margin: 8px 0; }
.td-desc { color: #4e5969; line-height: 1.6; margin-bottom: 16px; }

.td-stats { margin: 20px 0; display: flex; justify-content: center; gap: 40px; }
.stat { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.stat-icon { width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.stat:nth-child(1) .stat-icon { background: #e8f4fd; }
.stat:nth-child(2) .stat-icon { background: #fef0e8; }
.stat:nth-child(3) .stat-icon { background: #f0f0f0; }
.stat-text { font-size: 12px; color: #666; text-align: center; }

.td-gear { margin: 20px 0; }
.gear-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.gh-left { font-size: 16px; font-weight: 600; }
.gh-right { font-size: 14px; color: #666; }
.gear-list { display: flex; gap: 12px; }
.gear-card { display: flex; align-items: center; gap: 12px; background: linear-gradient(135deg, #ff69b4, #87ceeb); border-radius: 12px; padding: 12px; min-width: 120px; }
.gear-card img { width: 40px; height: 40px; object-fit: cover; display: block; border-radius: 6px; }
.gear-name { font-size: 14px; color: #fff; font-weight: 600; }

.td-section { margin: 20px 0; }
.sec-head { margin-bottom: 12px; }
.sec-title { font-weight: 700; font-size: 16px; margin-bottom: 4px; }
.sec-subtitle { color: #8a8f98; font-size: 14px; }
.muted { color: #8a8f98; }

.list { background: #fff; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.row:last-child { border-bottom: none; }
.thumb { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; }
.rest { width: 50px; height: 50px; border-radius: 50%; border: 2px solid #ff6b00; color: #ff6b00; display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 10px; background: #fff5f0; }
.r-info { flex: 1; }
.r-title { font-weight: 600; font-size: 14px; color: #333; }
.r-sub { color: #8a8f98; font-size: 12px; margin-top: 2px; }
.r-actions { display: flex; align-items: center; gap: 8px; }
.r-i { width: 20px; height: 20px; border-radius: 50%; border: 1px solid #e6e8ef; background: #f7f8fa; color: #8a8f98; display: inline-flex; align-items: center; justify-content: center; font-size: 10px; }
.r-thunder { color: #8a8f98; font-size: 12px; }

.td-options { margin: 20px 0; }
.option-item { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; border-bottom: 1px solid #f0f0f0; cursor: pointer; }
.option-item:last-child { border-bottom: none; }
.option-text { font-weight: 500; color: #333; font-size: 16px; }
.option-icon { color: #ccc; font-size: 14px; }

.td-footer-fixed { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; padding: 12px 16px; border-top: 1px solid #e6e8ef; z-index: 100; }
.start-btn { width: 100%; background: #ff6b00; color: #fff; border: none; border-radius: 999px; padding: 12px 16px; font-weight: 700; font-size: 16px; }

/* 预定训练弹窗样式 */
.schedule-popup {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.schedule-popup .adm-popup-body {
  border-radius: 16px;
  background: #fff;
  width: 320px;
  max-width: 90vw;
  position: relative;
  margin: auto;
}

.schedule-dialog {
  padding: 20px;
}

.schedule-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.schedule-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: #1f2329;
}

.close-btn {
  background: none;
  border: none;
  padding: 4px;
  color: #8a8f98;
  cursor: pointer;
}

.calendar {
  margin-bottom: 24px;
}

.week-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.week-day {
  text-align: center;
  font-size: 14px;
  color: #8a8f98;
  padding: 8px 0;
}

.dates-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.date-item {
  aspect-ratio: 1;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-size: 14px;
  color: #1f2329;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.date-item:hover {
  background: #f5f5f5;
}

.date-item.selected {
  background: #ff6b00;
  color: #fff;
}

.confirm-btn {
  width: 100%;
  background: #ff6b00;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

